<include file="Public:header" />
<script type="text/javascript" src="__ROOT__/js/dataList.js"></script>
<script type="text/javascript">
        function child_link(obj,id,pk){
            url=app_url+'/constant_node/index/constant_id/'+id;
            location.href=url;
        }
        
        function child_view(obj,id,pk){
            url=app_url+'/constant_node/node_view/constant_id/'+id;
            location.href=url;
        }
</script>
<div class="handle-btns">
	<lbase:imageBtn id="addAdmin" name="addAdmin" value="{$Think.lang.ADD}" click="addData()" />
	<lbase:imageBtn id="editAdmin" name="editAdmin" value="{$Think.lang.EDIT}" click="editData(this,'checkList')" />
	<lbase:imageBtn id="removeAdmin" name="removeAdmin" value="{$Think.lang.REMOVE}" click="removeData(this,'checkList')" />
	<if condition="$parent_id gt 0">
	<lbase:linkBtn text="{$Think.lang.RETURN_PREV}" href="{:U(MODULE_NAME.'/index',array('parent_id'=>$pp_id))}" />
	</if>
</div>
<div class="search-box">
</div>
<lbase:list 
    id="checkList" 
    style="list" 
    name="con" 
    checkbox="true" 
    action="true" 
    datasource="list" 
    show="id:{$Think.lang.ID}|50,constant_name:{$Think.lang.NAME}|150:textEdit|id,constant_title:{$Think.lang.TITLE}|100:textEdit|id,sort:{$Think.lang.SORT}|80:numberEdit|id" 
    actionlist="child_link:{$Think.lang.NODE_ACTION}:id,child_view:{$Think.lang.VIEW_NODE}:id,editData:{$Think.lang.EDIT}:id,removeData:{$Think.lang.REMOVE}:id" action_width="150" />
<div class="pager">{$page}</div>
<include file="Public:footer" />